package es.aradesh.ministryassist.logic.ministry;

import es.aradesh.ministryassist.db.DbAdapter;

public interface MinistryElement {
	
	//public static final int OP_ADD_TERRITORY = 0;
	//public static final int OP_ADD_STREET = 1;
	//public static final int OP_ADD_HOME = 2;
	public static final String OPERATION = "operation";
	public static final int MENU_EDIT = 0;
	public static final int MENU_DELETE = 1;
	public static final int ACTIVITY_EDIT_TERRITORY = 0;
	public static final int ACTIVITY_EDIT_STREET = 1;
	public static final int ACTIVITY_EDIT_HOME = 2;
	public static final int ACTIVITY_EDIT_REVISIT = 3;
	public static final int ACTIVITY_SHOW_HOME = 4;
	
	/**
	 * @return the DB id of the object 
	 */
	public long getId();
	/**
	 * Refreshes the info saved in the DB with the actual parameters of the object
	 * @param mDb
	 */
	public void refreshDB(DbAdapter mDb);
	public int getActivityEditType();
	public boolean delete(DbAdapter mDb);
	public Object getParam(String parameter);
}
